package com.bpzj.util.dto;

import java.time.Period;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * Created by bpzj on 2019-8-31.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Person {

  private String name;

  private int age;

  private BigDecimal height;

  private Date birthday;

  private LocalDateTime deadTime;

  private String idCardNo;

  private List<Person> testNested;

  public Person(Date birthday) {
    this.birthday = birthday;
  }
}
